package com.info3k.client.domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


public class Address implements Serializable {

	private static final long serialVersionUID = -1873799364997737422L;

    private Long id;
	
    private List<Location> locations;
    
	private String address;
    
    private String houseNumber;
    
    private Double lat;
    
    private Double lon;
    
    private User user;
    
    private Integer length;
    
    public Address() {
		this.locations = new ArrayList<Location>();
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getHouseNumber() {
		return houseNumber;
	}

	public void setHouseNumber(String houseNumber) {
		this.houseNumber = houseNumber;
	}

	public Double getLat() {
		return lat;
	}

	public void setLat(Double lat) {
		this.lat = lat;
	}

	public Double getLon() {
		return lon;
	}

	public void setLon(Double lon) {
		this.lon = lon;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setLocations(List<Location> locations) {
		this.locations = locations;
	}

	public List<Location> getLocations() {
		return locations;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public User getUser() {
		return user;
	}

	public void setLength(Integer length) {
		this.length = length;
	}

	public Integer getLength() {
		return length;
	}
}
